@font-face {
    font-family: pixel-text;
    src: url("../soures/ttf/pixel-text.TTF");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    font-family: 'Roboto', sans-serif;
}

li {
    border-bottom: 2px solid #1a1919;
    border-width: 0%;
    list-style-type: none;
}

li:hover {
    border-bottom: 2px solid aliceblue;
    border-width: 100%;
    transition: .5s;
}

a {
    text-decoration: none;
}

.header {
    border-bottom: 1px solid #323233;
    position: fixed;
    z-index: 666;
    top:0px;
    width:100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: #1a1919;
    position:relative;
    z-index: 666;
}

.nav-bottom {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: aliceblue;

}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    float: right;
}

.nav-item {
    padding: 1rem;
}

.nav-link {
    font-size: 1.6rem;
    font-weight: 400;
    color: aliceblue;
}

.nav-link:hover {
    color: #f5b13b;
    transition: .5s;
}

.nav-logo {
    font-family: "pixel-text";
    font-size: 2.1rem;
    font-weight: 500;
    color: aliceblue;
}

.nav-bottom.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-bottom.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-bottom.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media only screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        margin-left: 65%;
        top: -100%;
        flex-direction: column;
        background-color: rgb(0, 0, 0);
        width: 30%;
        border-radius: 10px;
        text-align: center;
        transition: .5s;
        box-shadow:
            0 10px 27px aliceblue;
    }

    .nav-menu.active {
        top: 9%;
    }

    .nav-item {
        margin: 0rem 0;
    }

    .nav-bottom {
        display: block;
        cursor: pointer;
    }
}